home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Desktop Show Build.xpl < prev    next >
Text File  |  2003-11-19  |  2KB  |  56 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Desktop\Options"
  5. "NAME"="Window Version on Desktop"
  6. "OSVERSION"="1011111"
  7. "VERSION"="1.08"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Show Windows Build/Version on Desktop"
  10. "DESCRIPTION 1"="This options allows you to display the build of Windows that you are using in the lower right-hand corner of your desktop screen above the taskbar tray area."
  11. "DESCRIPTION 2"="NOTE: This works on Windows 95,98,ME,2000 and XP."
  12. "DESCRIPTION 3"="*IMPORTANT* Will not work if ActiveDesktop is enabled!!"
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17. "COMMENT 2"="Thanks to Maxwell <maxwello@hotpop.com> for this setting."
  18. "COMMENT 3"="Thanks to Pierre Szwarc <http://perso.cybercable.fr/szwarc/> for the Windows 2000 part."
  19.  
  20.  
  21.  
  22. sV1="HKCU\Control Panel\Desktop\PaintDesktopVersion"
  23.  
  24.  
  25. Sub Plugin_Initialize 
  26.  i=RegReadValue(sV1)
  27.  if i=1 then SetUIElement 1,true
  28. End Sub
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  valToSet=0
  35.  
  36.  b=GetUIElement(1)
  37.  if b=true then
  38.     valToSet=1
  39.  else
  40.     valToSet=0
  41.  end if
  42.  
  43.  'Windows 95/98/ME = STRING;  Windows 2000 = DWORD
  44.  if GetWinVer=1 or GetWinVer=3 or GetWinVer=5 then
  45.     Call RegWriteValue(sv1,valToSet,1)
  46.  else
  47.     Call RegWriteValue(sv1,valToSet,2)
  48.  end if
  49.  
  50.  
  51.  Call Logoff()
  52. End Sub
  53.  
  54. Sub Plugin_Terminate 
  55. End Sub
  56.